package com.ldp.designpatterns.study.visitor.impl;

import com.ldp.designpatterns.study.visitor.service.ComputerPart;
import com.ldp.designpatterns.study.visitor.service.ComputerPartVisitor;

/**
 * @ClassName Keyboard
 * @Description TODO 访问者模式，步骤2：实现基本元素
 * @Author lindipei
 * @Date 2023/10/17 18:37
 */
public class Mouse implements ComputerPart {

    @Override
    public void accept(ComputerPartVisitor computerPartVisitor) {
        computerPartVisitor.visit(this);
    }
}
